package org.example.mq.common;

import org.example.mq.mqserver.core.BasicProperties;

import java.io.Serializable;
/*
    服务器主动推送消息给消费者
 */
public class SubscribeReturns extends BasicReturns implements Serializable {
    private String consumeTag;
    private BasicProperties basicProperties;
    private byte[] body;

    public String getConsumeTag() {
        return consumeTag;
    }

    public void setConsumeTag(String consumeTag) {
        this.consumeTag = consumeTag;
    }

    public BasicProperties getBasicProperties() {
        return basicProperties;
    }

    public void setBasicProperties(BasicProperties basicProperties) {
        this.basicProperties = basicProperties;
    }

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }
}
